<template>
  <div class="list">
    <ul>
      <li class="item" v-for="(item,key) of city" :key="key">{{key}}</li>
    </ul>
  </div>
</template>

<script>
export default {
  name: 'Alphabet',
  props: {
    city: Object
  },
  watch: {

  },
  methods: {
    // handleClick: function (e) {
    //   console.log(e)
    // }
  }
}
</script>

<style lang="stylus" scoped>
  @import '~styles/varibles.styl'
  .list
    position: absolute
    right: 0
    top: 0
    bottom: 0
    width: .54rem
    display: flex
    flex-direction: column
    justify-content: center
    .item
      line-height: .4rem
      text-align: center
      color: $bgColor
</style>
